
  @Html.Partial("_header")

@{
    var HomeDir = System.Configuration.ConfigurationManager.AppSettings["HomeDirectory"].ToString(); 
}

<body>
   <div class="container_16" id="green-it">
        <div class="full-width" id="black-bar">
	        <div id="black-filler">
		        <a href="@HomeDir/Home"><img src="@Url.Content("~/Content/i/image-wiwi-logo-black-bar.png")" width="149" height="24" alt="WiWi ~ Where your wants come first" /></a> 
           		
       @if (Request.IsAuthenticated)
       {
             <nav>

			    <ul id="logged-in">				
				 @*   <li><a href="#" id="log-in">@Html.Partial("_LogOnPartial")</a></li> // don't really need *@
                        <li>@Html.ActionLink("Log Off", "LogOff", "Account")</li>
                        <li>@Html.ActionLink("Settings", "Editprofile", "Home")</li>
				 @*   <li>@Html.ActionLink("My Wants", "Profile", "Home")</li> *@
				    <li>@Html.ActionLink("My Searches", "MySearches", "Want")</li>
				 @*   <li>@Html.ActionLink("My Dealing", "Index", "Dealing")</li> *@       
                    <li>@Html.ActionLink("My Profile", "Profile", "Home")</li>
                 
                    <li>@Html.ActionLink("Home", "../Home")</li>
			    </ul>

		    </nav>
       }
       else
       {
            <a href="@HomeDir/Account/Logon" id="log-in">Have an Account? <span>Sign In</span></a>
       }
                
 
	        </div>
        </div>
        
	 <div class="grid_3">
		  
	      @if (Request.IsAuthenticated)
       {
           var proDet = ViewData["ProfileDetails"];
            @Html.Partial("_ProfileCounters", proDet)
       }
       else
       {
           
        <a href="@Url.Content("~/Home")" title="Back Home"><img src="@Url.Content("~/Content/i/image-wiwi-logo_map-vertical.png")" width="90" height="283" id="logo-click"  /></a>
    
       }
    </div>

        
            @RenderBody()
     
   
     @Html.Partial("_footer")  
  